package org.mitoma.logger.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiHandler;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class RegisterCompletePanel extends Composite {

  private static RegisterCompletePanelUiBinder uiBinder = GWT
                                                            .create(RegisterCompletePanelUiBinder.class);

  interface RegisterCompletePanelUiBinder extends
      UiBinder<Widget, RegisterCompletePanel> {
  }

  public RegisterCompletePanel() {
    initWidget(uiBinder.createAndBindUi(this));
  }

  @UiHandler("selectLogger")
  void newLogger(ClickEvent event) {
    GlobalRepository.moveToSelectLogger();
  }

}
